@echo off
echo Installing RedPlayer dependencies...

rem 设置OHPM路径（根据您的DevEco Studio安装路径调整）
set OHPM_PATH="D:\IDE\DevEco Studio\tools\ohpm\bin\ohpm.exe"

rem 检查OHPM是否存在
if not exist %OHPM_PATH% (
    echo Error: OHPM not found at %OHPM_PATH%
    echo Please check your DevEco Studio installation path
    pause
    exit /b 1
)

rem 安装依赖
%OHPM_PATH% install @rte-xhs/redplayer

echo Installation completed.
pause